package com.jsnu.xiaochi.service;

import com.jsnu.xiaochi.pojo.Category;
import com.jsnu.xiaochi.pojo.Food;

import java.util.List;


public interface AdminService {
    public List<Food> getNoPassFood();
    public List<Food> getPassFood();
    public int goPass(String id);
    public List<Category> getAllCategory();
    public int deleteCategory(int id);
    public int editCategory(Category category);
    public int insertCategory(Category category);
    public int updateFood(Food food);
    public int deleteFood(String id);
}
